<h1>Products</h1>

<?php
		$output.=CHtml::activeDropDownList($model,'ut_press_id', array_merge(array(0=>'Не выбрано'),CHtml::listData(CActiveRecord::model('Press')->findAll(),'ut_press_id','ut_press_name')),
		array('onchange'=>"$.fn.yiiGridView.update('presscalcrow-grid', {data: {'PressCalcrow':{'ut_press_id':$(this).val()}}});"));		
?>


<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
